home *** CD-ROM | disk | FTP | other *** search
/ Collection of Internet / Collection of Internet.iso / infosrvr / dev / www_talk.930 / 000227_romig@cis.ohio-state.edu _Tue Sep 29 05:18:19 1992.msg < prev    next >
Internet Message Format  |  1994-01-24  |  2KB

  1. Return-Path: <romig@cis.ohio-state.edu>
  2. Received: from dxmint.cern.ch by  nxoc01.cern.ch  (NeXT-1.0 (From Sendmail 5.52)/NeXT-2.0)
  3.     id AA07117; Tue, 29 Sep 92 05:18:19 GMT+0100
  4. Received: by dxmint.cern.ch (dxcern) (5.57/3.14)
  5.     id AA04697; Tue, 29 Sep 92 05:18:29 +0100
  6. Received: by brachiosaur.cis.ohio-state.edu (5.61-kk/5.911008)
  7.     id AA01784; Tue, 29 Sep 92 00:17:53 -0400
  8. Date: Tue, 29 Sep 92 00:17:53 -0400
  9. From: Steve Romig <romig@cis.ohio-state.edu>
  10. Message-Id: <9209290417.AA01784@brachiosaur.cis.ohio-state.edu>
  11. To: timbl@nxoc01.cern.ch
  12. Cc: www-talk@nxoc01.cern.ch, ruth@fnal.fnal.gov
  13. In-Reply-To: Tim Berners-Lee's message of Mon, 28 Sep 92 13:40:33 MET <9209281240.AA04048@ nxoc01.cern.ch >
  14. Subject: Man pages server code, anyone?
  15.  
  16. I wrote a simple set of scripts that ran the unformatted man sources
  17. through nroff with a special set of man macros that did away with the
  18. page headings/footings, and converted the formatted ascii output into
  19. html.  I wanted to convert any references to things that look like man
  20. pages (as in "man(1)") to links.  What I really wanted was to put the
  21. man page in a <listing> environment to preserve the formatting, but
  22. you can't embed anchors there.  </LISTING><A ...>...</A><LISTING>
  23. seems to cause paragraph breaks, not quite what I had in mind.  
  24.  
  25. I finally settled on making a list of the man page references and
  26. turned them into an extra See Also section at the end of the document.
  27. Its ugly, but functional.  I'll clean up the code and make it
  28. available if anyone is interested.
  29.  
  30. It would be nice if there were a thing like LISTING that allowed
  31. anchors.  Are there any plans for such a thing (or maybe there's a way
  32. to do it now that I don't know about)?  It would make the task of
  33. converting misc text files into HTML much easier.
  34.  
  35. --- Steve